<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="/favicon.ico">
  <title>摘月亮的小船儿</title>
  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  <style>
    html,
    body,
    #app {
      height: 100%;
      margin: 0px;
      padding: 0px;
    }


    .box {
        position: relative;
        width: 100px;
        height: 50px;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translateY(-50%);
    }

    .box span {
        position: absolute;
        width: 20px;
        height: 20px;
        background: #3498db;
        opacity: 0.5;
        border-radius: 100%;
        animation: anim 1s infinite ease-in-out;
    }

    .box > :nth-child(2) {
        left: 20px;
        animation-delay: 0.2s;
    }

    .box > :nth-child(3) {
        left: 40px;
        animation-delay: 0.4s;
    }

    .box > :nth-child(4) {
        left: 60px;
        animation-delay: 0.6s;
    }

    .box > :nth-child(5) {
        left: 80px;
        animation-delay: 0.8s;
    }

    @keyframes anim {
        0% {
            opacity: 0.3;
            transform: translateY(0px);
        }
        50% {
            opacity: 1;
            transform: translateY(-10px);
            background: #f9cdff;
        }
        100% {
            opacity: 0.3;
            transform: translateY(0px);
        }
    }

  </style>
</head>

<body>
  <div id="app">
    <div class="box">
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
  </div>
  </div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>